/*
 * @Author: your name
 * @Date: 2021-08-23 16:14:19
 * @LastEditTime: 2021-10-02 18:37:12
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \ewshop\src\main.js
 */
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'vant/lib/index.css'

import {
    Swipe,
    SwipeItem,
    Lazyload,
    Badge,
    Sidebar,
    SidebarItem,
    Collapse,
    CollapseItem,
    Tab,
    Tabs,
    Card,
    Image as VanImage,
    Tag,
    Button,
    Form,
    Field,
    Stepper,
    Checkbox,
    CheckboxGroup,
    SwipeCell,
    SubmitBar,
    Icon,
    AddressEdit,
    AddressList,
    Popup,
    Grid,
    GridItem,
    List,
    PullRefresh
} from 'vant';
createApp(App)
    .use(Swipe).use(SwipeItem).use(Badge).use(Sidebar).use(SidebarItem).use(Collapse).use(CollapseItem)
    .use(Lazyload, {
        loading: require('./assets/images/lazy.jpeg')
    }).use(Tab).use(Tabs).use(Card).use(VanImage)
    .use(Tag).use(Button).use(Form).use(Field)
    .use(Stepper).use(Checkbox).use(CheckboxGroup)
    .use(SwipeCell).use(SubmitBar).use(Icon)
    .use(AddressEdit).use(AddressList).use(Popup)
    .use(Grid).use(GridItem).use(List).use(PullRefresh)
    .use(store).use(router).mount('#app')